Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 17 - File Objects / File Objects Reference
File Objects Routines / Accessing File Objects


Q3File_Close

You can use the Q3File_Close function to close a file object.

TQ3Status Q3File_Close (TQ3FileObject file);
file
A file object.
DESCRIPTION
The Q3File_Close function closes the file object specified by the file parameter. Q3File_Close flushes any caches associated with the file and releases that memory for other uses. You should close a file object only when all operations on the file have completed successfully and you no longer need to keep the file object open.

ERRORS
kQ3ErrorFileInUse
kQ3ErrorInvalidObjectParameter
kQ3ErrorOSError


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996